﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneMake.Model
{
    //九牧王旗舰店库存
    [PetaPoco.TableName("ppf_d_joeone_store")]
    [PetaPoco.PrimaryKey("oid")]
    public class ppf_d_joeone_store
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }

        [MapToExcel(ColumnName = "商品名称")]
        public string prd_name { get; set; }

        [MapToExcel(ColumnName = "商品货号")]
        public string prd_sn { get; set; }

        [MapToExcel(ColumnName = "颜色")]
        public string color { get; set; }

        [MapToExcel(ColumnName = "尺码")]
        public string size { get; set; }

        [MapToExcel(ColumnName = "在库")]
        public int n_store { get; set; }

        [MapToExcel(ColumnName = "锁定")]
        public int n_lock { get; set; }

        [MapToExcel(ColumnName = "可用")]
        public int n_avail { get; set; }

        [MapToExcel(ColumnName = "安全")]
        public int n_safe { get; set; }

        [MapToExcel(ColumnName = "价格")]
        public double price { get; set; }

        [MapToExcel(ColumnName = "货架")]
        public string box { get; set; }


        /////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; } 
    }
}
